{include file="public/_meta" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>团队业绩 <span class="c-gray en">&gt;</span>明细<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">

    <div class="cl pd-5 bg-1 bk-gray mt-20">

        <span class="l">
       原团队业绩：<strong>{$a}</strong> 元  &nbsp;&nbsp; &nbsp;&nbsp;
    </span>

    </div>

    <div class="mt-20">
        <table class="table table-border  table-hover table-bg table-sort">
            <thead>
            <tr class="text-c">
                <td>用户ID</td>
                <th>名称</th>
                <th>手机号</th>
                <th>原累计消费</th>
            </tr>
            </thead>
            <tbody>
            {volist name='yuan_yun_info' id="vo"}
            <tr class="text-c">
                <td>{$vo.id}</td>
                <td>{$vo.us_nickname}</td>
                <td>{$vo.us_tel}</td>
                <td>{$vo.yun_yuan_yeji}</td>
            </tr>
            {/volist}
            </tbody>
        </table>

    </div>
</div>
{include file="public/_footer" /}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/static/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript">
    $('select[name="wa_type"]').val({$Request.get.wa_type});


    function myAccount(id){
        var url = "{:url('Center/teams')}?id="+id;
        layer_show('明细',url);
    }

    function create(id,url,key){
        var url = "{:url('"+url+"')}?id="+id;
        creatIframe(url,key);
    }
    function cancelbi(id){
        layer.confirm('确定要取消该奖励吗？', {
            btn: ['确定', '取消']
        }, function(index, layero){
            $.ajax({
                type: "post",
                url: "{:url('profit/cancelbi')}",
                data: {id:id},
                success: function(data) {
                    layer.msg(data.msg);
                    if(data.code){
                        setTimeout("window.location='';",1000);
                        //location.href = '';
                    }
                }
            });
        });
    }
    function selecttime(flag){
        if(flag==1){
            var endTime = $("#countTimeend").val();
            if(endTime != ""){
                WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',maxDate:endTime})}else{
                WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})}
        }else{
            var startTime = $("#countTimestart").val();
            if(startTime != ""){
                WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:startTime})}else{
                WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})}
        }
    }
</script>
</body>
